function productCellClick(index, field,value,datagridId,dlgId,callbackMethod){
	if(field=='productId')
	{
		productSelectDlgOpen3(index,dlgId,callbackMethod);
	}
	else
	{
	}

}

function productSelectDlgOpen3(index,dlgId,callbackMethod)
{
	
	$('#'+dlgId).dialog({  
		    title: '选择商品',  
		    width: 600,  
		    height: 500,  
		    closed: true,  
		    cache: false,  
		    modal: true,
		    onBeforeClose: function()
		    {
		    //	$("#"+curObj+" input[name='productId']").val(productId);
		    //	$("#"+curObj+" input[name='productName']").val(productName);
					$.ajax({
						async: false,
						type: "get",
						url: rootPath+'/product/product/product!get.json',
						data: {id: productId},
						dataType: "json",
						success: function(jData){
							callbackMethod(index,jData);
						}
					});
		    	
		    }  
		});
		$('#'+dlgId).dialog('open');
		$('#'+dlgId).dialog('refresh', rootPath+'/product/product/product!select');
}